import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  mode: 'hash',
  routes: [
    {
      path: '/',
      name: 'Home',
      component: () => import('@/views'),
	  children:[
		  {
			  path: '/user',
			  name: 'UserList',
			  component: () => import('@/views/user')
		  }
		  
		  
	  ]
    },
    {
      path: '/login',
      name: 'Login',
      component: () => import('@/views/login')
    }
  ]
})
